package com.lc1993929.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by LiuChang on 2017/5/8.
 */
public class LoginAction implements Action {
    public String execute(HttpServletRequest request, HttpServletResponse response) throws Exception {
        //处理业务逻辑，访问数据库
        System.out.println("login");
        //最后返回的页面
        return "success";
    }
}
